/* =========================================
   MEDIA QUERIES - NAV RESPONSIVA
   ========================================= */

/* --- TABLET (768px) --- */
@media screen and (min-width: 767px) {
    #mobile-wrapper {
        left: 5%;
        width: 90%;
    }

    .s2 {

        height: 700px;

    }

    .text {
        width: 90%;
        height: 600px;

    }

    .text>.texto-principal>p {
        font-size: 1.1rem;
        line-height: 1.7rem;
    }

    h2 {
        font-size: 2rem;
    }

    .logo-sobre {
        height: 60%;
    }

    #nordeste {
        background-image: url('rotas-imagens/Nordeste\ 767\ \(920\ x\ 360\ px\).png');
    }

    #Sudeste {
        background-image: url('rotas-imagens/sudeste\ 767\ \(920\ x\ 360\ px\).png');
    }

    #sul {
        background-image: url('rotas-imagens/sul\ 767\ \(920\ x\ 360\ px\).png');

    }

}

/* --- DESKTOP PADRÃO (1024px) - O Ponto de Virada --- */
@media screen and (min-width: 1024px) {

    /* 1. Esconde o Mobile */
    #mobile-wrapper {
        display: none;
    }

    /* 2. Mostra e Estiliza Nav Desktop */
    .nav-pc {
        display: flex;
        /* Torna visível */
        position: fixed;
        top: 30px;
        left: 3%;
        width: 94%;
        height: 80px;
        padding: 0 20px;

        background-color: rgba(0, 0, 0, 0.55);
        backdrop-filter: saturate(180%) blur(20px);
        border-radius: 80px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.226);
        z-index: 1000;

        justify-content: space-between;
        align-items: center;
        transition: all 0.4s ease-in-out;

        animation: navEntrada 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        transform-origin: center top;
    }

    /* 3. Comportamento ao Rolar (Minimizada) */
    nav.minimizada {
        top: 10px;
        height: 70px;
        width: 88%;
        /* Zoom out horizontal */
        left: 6%;
        background-color: rgba(0, 0, 0, 0.75);
    }

    /* 4. Elementos Internos Desktop */
    nav>.txt-lo {
        width: 140px;
    }

    #img-logo {
        width: 120px;
        height: 120px;
        margin-top: 25px;
        transition: all 0.4s ease-in-out;
    }

    nav.minimizada #img-logo {
        transform: scale(0.95);
    }

    /* Links/Abas */
    nav>.abas {
        width: 75%;
        max-width: 1000px;
        display: flex;
        justify-content: space-around;
        padding: 10px;
        background-color: #ffffff0c;
        border-radius: 80px;
        margin: 0px 10px;
    }

    .s-link-nav {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        padding: 7px 1px;
        font-size: 1.1rem;
        font-weight: 100;
        font-family: "Montserrat", sans-serif;
        transition: 0.2s;
    }

    .s-link-nav:hover {
        color: #5a8cf8;
        transform: translateY(-2px);
    }

    /* Botão Contato */
    #contato-btn {
        padding: 13px 30px;
        background-color: #155DFC;
        border: none;
        border-radius: 10px;
        margin-right: 10px;
        transition: 0.3s ease-in-out;
    }

    nav.minimizada #contato-btn {
        transform: scale(0.95);
    }

    #contato-btn>a {
        text-decoration: none;
        color: white;
        font-size: 1.4rem;
    }

    #contato-btn:hover {
        background-color: #134ecc;
        transform: scale(1.02);
    }

    .nav-btn {
        display: block;
    }

    .text {
        width: 70%;
        max-width: 800px;
        height: 600px;

    }

    .logo-sobre {
        height: 65%;
    }

    .text>.texto-principal>p {
        font-size: 1.1rem;
        line-height: 1.7rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .next {
        right: 7%;

    }

    .prev {
        left: 7%;

    }

    #nordeste {
        background-image: url('rotas-imagens/Nordeste\ 890\ x\ 390.png');
    }

    #Sudeste {
        background-image: url('rotas-imagens/sudeste\ 800\ x\ 390.png');
    }

    #sul {
        background-image: url('rotas-imagens/sul\ 800\ x\ 390.png');

    }

}



/* --- TELAS GRANDES (1367px) --- */
@media screen and (min-width: 1367px) {
    .nav-pc {
        width: 80%;
        left: 10%;
    }

    nav.minimizada {
        width: 72%;
        left: 14%;
    }

    #contato-btn {
        margin-right: 30px;
    }

    .text {
        width: 70%;
        max-width: 800px;
        height: 600px;

    }

    .next {
        right: 15%;

    }

    .prev {
        left: 15%;

    }

}


/* --- TELAS EXTRA GRANDES (1601px) --- */
@media screen and (min-width: 1601px) {
    .nav-pc {
        width: 75%;
        left: 12.5%;
    }

    nav.minimizada {
        width: 68%;
        left: 16%;
    }

    .next {
        right: 20%;

    }

    .prev {
        left: 20%;

    }


}

/* --- MONITORES WIDE (1920px) --- */
@media screen and (min-width: 1920px) {
    .nav-pc {
        width: 68%;
        left: 16%;
    }

    nav.minimizada {
        width: 58%;
        left: 21%;
    }

    #contato-btn {
        margin-left: 40px;
        margin-right: 40px;
        padding: 15px 35px;
    }

    .txt-lo {
        margin-left: 40px;
        margin-right: 40px;
    }

    .nav-pc>.abas {
        width: 100%;
    }

    .next {
        right: 25%;

    }

    .prev {
        left: 25%;

    }
}

@keyframes navEntrada {
    0% {
        opacity: 0;
        transform: scale(1.15) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}